<?php
/**
 * WX端的接口
 */


$router->get('token', 'WxController@getToken');
//视频
$router->post('video/one', 'VideoController@getOne'); //果干
$router->get('video/one', 'VideoController@getOne'); //果干
$router->post('video/side', 'VideoController@getSideOne'); //农产品
$router->post('video/zan', 'VideoController@setPraise'); //点赞设置
//我的
$router->post('my/index', 'MyController@getIndex'); //统计
$router->post('my/friend/index', 'MyController@getFriendIndex'); //好友列表
$router->post('my/activity/index', 'MyController@getActivityIndex'); //活动列表
$router->post('my/zan/index', 'MyController@getPraiseIndex'); //点赞列表
//地址
$router->post('my/address/index', 'AddressController@getIndex');
$router->post('my/address/add', 'AddressController@setAdd');
$router->post('my/address/check', 'AddressController@setCheck');
$router->post('my/address/del', 'AddressController@setDel');